<div class="panel panel-default" ng-controller="ApiListCtrl">
	<div class="panel-heading">
		系统管理 / 订票接口配置
	</div>
	<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
	<div class="table-responsive">
		<table class="table table-striped b-t b-light">
			<thead>
				<tr>
					<th style="width:10px;"></th>
					<th style="width:100px;">机构编号</th>
					<th style="width:100px;">服务器地址</th>
					<th style="width:100px;">服务器端口号</th>
					<th style="width:100px;">密钥</th>
					<th style="width:80px;">
						<center>
						操作
			  			</center>
					</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="api in dataList">
			        <td></td>
					<td>{{api.agency}}</td>
					<td>{{api.server}}</td>
					<td>{{api.port}}</td>
					<td>{{api.secret}}</td>
					<td>
						<center>
							<a href tooltip="修改" has-authority="SYSTEM_API_UPDATE"><i class="fa fa-pencil fa-fw m-r-xs" ng-click="write('lg',api,'update')" ></i></a>
						</center>
					</td>
				</tr>
				<tr ng-show="dataList==''">
				   <td colspan="6" style="text-align: center;">暂无订票接口信息</td>
				</tr>
			</tbody>
		</table>
	</div>
	<page-footer/>
</div>
